Release 10.1A: OpenEdge Development:
Web Services
Connecting to a Web service
For session-managed Web services, make a logical connection to the AppObject and save its object ID for later use. For example:
Note: The
PscObjectIDHandlerregistered for theOrderInfoPorttype object (OrderInfoObjStub) automatically looks for and stores the object ID value returned for theOrderInfoObjStubobject if theconnect_OrderInfo( )method is successful. Because this is the first object ID that the handler stores, it is automatically set to be inserted as the object ID value in the SOAP header for each SOAP request sent to the WSA for theOrderInfoObjStubobject. Caution: Now that the Web service is connected, remember to release the AppObject when it is no longer needed.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |